Skip to content

feat: add admin backup import/export with versioned backup package#445

Merged
besscroft merged 2 commits intomainfrom
feat/admin-backup-import-export
Mar 26, 2026
Merged

feat: add admin backup import/export with versioned backup package#445
besscroft merged 2 commits intomainfrom
feat/admin-backup-import-export

Conversation

@besscroft
Copy link
Owner

  • add protected /api/v1/backup export, import preview, and import endpoints
  • introduce versioned backup contract, format adapter, and Prisma backup repository
  • support exporting configs, albums, images, and image-album relations
  • validate backup packages before import and merge data with fixed upsert rules
  • rebuild daily materialized data after import
  • add admin settings backup page, sidebar entry, and locale messages

- add protected /api/v1/backup export, import preview, and import endpoints
- introduce versioned backup contract, format adapter, and Prisma backup repository
- support exporting configs, albums, images, and image-album relations
- validate backup packages before import and merge data with fixed upsert rules
- rebuild daily materialized data after import
- add admin settings backup page, sidebar entry, and locale messages
@vercel
Copy link

vercel bot commented Mar 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
picimpact Ready Ready Preview, Comment Mar 26, 2026 2:18pm

@besscroft besscroft added the ✨enhancement New feature or request label Mar 26, 2026
@besscroft besscroft linked an issue Mar 26, 2026 that may be closed by this pull request
Update the English translation of "Backup" to the clearer "Data Backup", and sync the corresponding Japanese and Traditional Chinese translations to improve UI wording clarity.
@besscroft besscroft merged commit 8edabc2 into main Mar 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

【提案】数据库备份功能

1 participant